﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Blog.Model.Dto.Memento
{
    public class MementoAdd
    {
        /// <summary>
        /// 标题
        /// </summary>
        [SugarColumn(ColumnName = "Title", IsNullable = false, Length = 100)]
        public string Title { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        [SugarColumn(ColumnName = "DebrisContent", IsNullable = false)]
        public string DebrisContent { get; set; }

        /// <summary>
        /// 封面图片
        /// </summary>
        [SugarColumn(ColumnName = "CoverImg", IsNullable = false, Length = 200)]
        public string CoverImg { get; set; }

        /// <summary>
        /// 是否展示
        /// </summary>
        [SugarColumn(ColumnName = "IsShow", IsNullable = false)]
        public bool IsShow { get; set; }

        /// <summary>
        /// 标签
        /// </summary>
        public string TagId { get; set; }
    }
}
